<?php

use yii\helpers\Html;

/* @var $this yii\web\View */
/* @var $model common\models\Menu */

$this->title = '更新菜单：' . $model->name;
$this->params['breadcrumbs'][] = ['label' => '系统管理', 'template' => "<li><a>{link}</a></li>\n"];
$this->params['breadcrumbs'][] = ['label' => '菜单管理', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
$this->params['breadcrumbs'][] = '更新';
$this->context->fadeType = 'fadeInRight';
?>

<div class="ibox float-e-margins">
    <div class="ibox-title">
        <h5><?= Html::encode($this->title) ?></h5>
    </div>

    <?= $this->render('_form', [
        'model' => $model,
    ]) ?>
</div>
